package com.fs.activiti5.vo;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import com.alibaba.fastjson.annotation.JSONField;
import com.fs.base.pojo.PkEntity;

/**
 * @author TiddlerCJ
 * @desc 我的事务
 */
@NoArgsConstructor
@Data@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name="p_affair")
public class Affair extends PkEntity {
	private String id;		//流程实例id
	private String defId;	//流程定义id
	private String businessKey;	//业务标示如:Project:123dfsdfasdfxxxx或Expense:asdf98908x778979
	private String affairTitle;		//事务标题
	private String status;			//状态
	
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date endTime;			//结束时间
	
	/*
	 * 结束标记
	 */
	private String endActId;
}
